package designpattern.adapter;

/**
 * 客户端类
 *
 * @author: fengpeng
 * @date: 2019/2/21  下午12:13
 */
public class Client {

    public static void s(A a){
        a.a();
        a.b();
    }

    public static void f(A a){
        a.a();
    }

    public static void main(String[] args){
        A a= new BaseAdapterImpl();
        s(a);
        System.out.println("***********测试分隔线*************");
        A b = new Adater();
        f(b);
    }
}
